package cn.itcast.user.clint;

import cn.itcast.user.pojo.User;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName:UserClint
 * Package:cn.itcast.user.clint
 *
 * @Date:2024/3/15 15:47
 * @Author:zxde
 */
@EnableFeignClients
public interface UserClint {

    @GetMapping("/user/{id}")
    User getUser(@PathVariable("id") Long id);
}
